package ynny;

import java.util.Scanner;



public class Text {


    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        Cirle cirle = new Cirle();
        System.out.println("请输入圆的半径：");
        double a= scanner.nextDouble();
        cirle.setRaduis(a);
        double findArea = cirle.findArea();

        System.out.println("请输入圆的高：");
        double length= scanner.nextByte();
        Cyinder cyinder = new Cyinder(length);
        cyinder.findVolume(findArea);



    }
}
